home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: netcom.com!mictali
- From: mictali@netcom.com (Jere McDevitt)
- Subject: CTime (VC++ 4.0)
- Message-ID: <mictaliDMrpvr.6n0@netcom.com>
- Organization: NETCOM On-line Communication Services (408 261-4700 guest)
- X-Newsreader: TIN [version 1.2 PL1]
- Date: Wed, 14 Feb 1996 13:38:14 GMT
- Sender: mictali@netcom5.netcom.com
-
- I have some databases that have tables using a DateTime sql type. When I
- bind these fields to controls they always bind to a CTime type only. The
- problem I have is that when setting the date of a CTime, it uses mktime
- which has a base year of 1970 so entering any birthdates prior to 1970 fail.
-
- Anyone have any suggestions for getting around this problem, short of
- re-doing the libraries?
-
- Is there another way of choosing the base time at ClassWizard create time
- other than going into the .H file and changing it manually?
-
- Thanks for any help.
-
- Jere_McDevitt@Theratx.com
- mictali@netcom.com
-